/**
 * 
 */
package messaage;

/**
 * @author mariak
 * 
 */
public class RemovePostMsg extends Message {

	protected String forumID;
	protected String postID;

	public RemovePostMsg(String username, String forumID, String postID) {
		this.username = username;
		this.forumID = forumID;
		this.postID = postID;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see messaage.Message#toString()
	 */
	@Override
	public String toString() {
		String msg = "Remove post:\n " + "forumID: " + this.forumID
				+ "\nPostID: " + this.postID + "\nUsername: " + this.username
				+ "\n" + '\0';
		return msg;
	}

	/**
	 * @return the forumID
	 */
	public int getForumID() {
		return Integer.parseInt(forumID);
	}

	/**
	 * @return the postID
	 */
	public int getPostID() {
		return Integer.parseInt(postID);
	}

}
